package com.yunxi.eai.pojo.esb;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2020/1/7.
 */
@Data
public class EaiManageLogVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private String logId;

    @ApiModelProperty(value = "PMS发送给EAI的参数,此处存json字符串")
    private String pmsEaiContent;

    @ApiModelProperty(value = "ESB返还给EAI的处理结果,此处存json字符串")
    private String esbResultContent;

    @ApiModelProperty(value = "EAI接收ESB的参数,此处存json字符串")
    private String esbEaiContent;

    @ApiModelProperty(value = "PMS返还给EAI的处理结果,此处存json字符串")
    private String pmsResultContent;
    @ApiModelProperty(value = "接口名称")
    private String serviceName;

    @ApiModelProperty(value = "系统简称")
    private String sourceSystem;

    @ApiModelProperty(value = "ID消息流水号，UUID字符串")
    private String requestId;
    @ApiModelProperty(value = "通讯类型：0实时，1异步 ")
    private Integer type;

    @ApiModelProperty(value = "处理状态:0待处理，1处理成功，2处理失败 3 UPS索赔处理失败 4 SAP返利资金（暂不开启）5 失败重发成功接口")
    private Integer disposeStatus;

    @ApiModelProperty(value = "处理次数默认为0")
    private Integer disposeCount;

    @ApiModelProperty(value = "系统走向描述")
    private String flowDesc;

    @ApiModelProperty(value = "请求发送时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date requestSendTime;

    @ApiModelProperty(value = "接口返回时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date responseReceiveTime;

    @ApiModelProperty(value = "备注")
    private String remark;


    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createDate;


    private String createBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateDate;


    private String updateBy;

    @ApiModelProperty(value = "EAI接收ESB的参数")
    private String esbEaiText;

    @ApiModelProperty(value = "PMS发送给EAI的参数")
    private String pmsEaiText;

    private  Integer pageNum;

    private Integer pageSize;

    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    private String url;
}
